package shanghaielectric.com.shanghaielectric.Utils;

/**
 * Created by 45000460 on 2017/11/14.
 */

public class MySystemUtil {

    public static String getMethonNmae(Class<?> callingClass) {
        String className = callingClass.getSimpleName();
        StackTraceElement[] s = Thread.currentThread().getStackTrace();
        String methodName = s[3].getMethodName();
        return className + ":" + methodName;
    }
}
